import request from '@/utils/request';
export function carNoticeAdd(data) {
  return request({
    url: `/car/notice`,
    method: 'post',
    data
  })
}

export function carNoticeList(params) {
  return request({
    url: `/car/notice/list`,
    method: 'get',
	params
  })
}
export function carNoticeEdit(data) {
  return request({
    url: `/car/notice`,
    method: 'put',
    data
  })
}

export function carNoticeDelete(ids) {
  return request({
    url: `/car/notice/${ids}`,
    method: 'delete',
  })
}

export function carNoticeDetails(couponIds) {
  return request({
    url: `/car/notice/${couponIds}`,
    method: 'get',
  })
}
